<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<title>优惠券信息</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <link rel="stylesheet" href="../css/CouponInformation.css">
	<script type="text/javascript" src="../js/coupon_add.js"></script>

</head>
<body>
    <div    class="background">
        <img src="../image/Vector.png">
    </div>
    <div    class="people">
        <img src="../image/Palz Standing.png">
        <img src="../image/Big Shoes Sitting on Rock.png">
    </div>
    
    <form action="../coupon_AddServlet" method="post"  name="couponAddForm" id="couponAddForm">
        <div    class="form">
            <h2 >
            <%-- <% String find = request.getAttribute("find").toString(); 
            	if(find!=""){
            		if(find.equals("add")){
            			out.print("<label id='option' value='add'>添加优惠券信息</label>");
            		}else if(find.equals("update")){
            			out.print("<label id='option' value='update'>修改优惠券信息</label>");
            		}
            	}else{
            		out.print("<label id='error'></label>");//无参数，利用js跳转到result.jsp
            	}
            %> --%>
            优惠券信息
            </h2>
            <div    class="inputbox">
                	优惠券序号:<input type="text" id="cId" name="cId" maxlength="20" value=""  placeholder="请输入优惠券序号" readonly ><br>
            	<label id="cTypeTip" class="Input_tip"></label>
            </div>
            <div    class="inputbox">
               	 优惠券名称:<input type="text" id="cName" name="cName" maxlength="20" placeholder="请输入优惠券名称"><br>
            	<label id="cTypeTip" class="Input_tip"></label>
            </div>
            <div    class="inputbox">
                	优惠券类型:<input type="text" id="cType" name="cType" maxlength="20" placeholder="请输入优惠券类型">
            	<label id="cTypeTip" class="Input_tip"></label>
            </div> 
            <div    class="inputbox">
                	优惠券内容:<input type="text" id="cContent" name="cContent" maxlength="20" placeholder="请输入优惠券内容">
            		<label id="cTypeTip" class="Input_tip"></label>
            </div> 
            <div    class="inputbox">
               	 优惠券价格:<input type="number" step="0.1" id="cPrice" name="cPrice" maxlength="20" placeholder="请输入优惠券价格">
           		<label id="cTypeTip" class="Input_tip"></label>
            </div> 
            <div    class="inputbox">
                	优惠券等级:<input type="number" id="cLevel" name="cLevel" maxlength="20" placeholder="请输入优惠券等级">
            	<label id="cTypeTip" class="Input_tip"></label>
            </div> 
            <div    class="inputbox">
                	优惠券时限:<input type="number"  id="ctimeLimit" name="ctimeLimit" maxlength="20" placeholder="请输入优惠券时限">
            	<label id="cTypeTip" class="Input_tip"></label>
            </div> 
            <div    class="button_style">
                <div    class="inputbox">
                	 <input type="submit" value="提 交" />
                    <img src="../image/submit.png">
                </div> 
                <div    class="inputbox">
                    <input type="reset" value="重 置" />
                    <img src="../image/reset.png">
                </div> 
            </div>        
        </div>
    </form>
</body>
</html>